﻿Imports DTO
Imports DAO
Imports System.Data.SqlClient


Public Class NhanVienBus

    Public Shared Function LayDSDanhSach() As SqlDataAdapter
        Return NhanVienDao.LayDSDanhSach()
    End Function

    Public Shared Function LayDanhSach() As DataTable
        Return NhanVienDao.LayDanhSach()
    End Function

    Public Shared Sub ThemNV(ByVal nv As NhanVienDto)
        NhanVienDao.ThemNV(nv)
    End Sub

    Public Shared Sub SuaNV(ByVal nv As NhanVienDto)
        NhanVienDao.SuaNV(nv)
    End Sub

    Public Shared Sub XoaNV(ByVal manv As String)
        NhanVienDao.XoaNV(manv)
    End Sub
End Class
